﻿using System.ComponentModel.DataAnnotations;
using tju.cme.BookStore2024.webapi.Models.EF;

namespace tju.cme.BookStore2024.webapi.Models.ViewModels.Chapter
{
    public class ChapterCreateModel
    {

        /// <summary>
        /// 章节标题
        /// </summary>
        public string ChapterTitle { get; set; } = null!;


        /// <summary>
        /// 章节内容
        /// </summary>
        public string ChapterText { get; set; } = null!;

        /// <summary>
        /// 所属小说Id
        /// </summary>
        public Guid NovelId { get; set; }

    }
}
